package com.sangeng.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sg_article")

public class ArticleVo {

        @TableId
        private Long id;
        //标题
        private String title;
        //文章摘要
        private String summary;
        //所属分类id
        private String  categoryName;
        //缩略图
        private String thumbnail;
        //访问量
        private Long viewCount;

        private Date createTime;


}
